package de.herberlin.server.common;


/**
 * Holds names of the configuration keys.
 *
 * @author Hans Joachim Herbertz
 * @created 27.01.2003
 */
public interface ConfigConstants {

	/**
	 * Application Version. */
	public static final String VERSION =
		"Herberlin Bremsserver 3.0";
	/**
	 * The name of the configuration file.
	 */
	public static final String CONFIG_FILE="bremsserver.xml";
	public static final boolean USE_CONFIG_FILE=false;

	public static final String MODE_HTTP="http";
	public static final String MODE_PROXY="proxy";
	public static final String MODE_MAIL="mail";


	public static final String SETTING_PORT=".port";
	public static final String SETTING_DELAY=".delay";


	/**
	 * Number of rows in the displayed server log. */
	public static final String LOGSIZE = "ui.logsize";

	/**
	 * The value of the selected server (Http or proxy)
	 */
	public static final String SERVER_SERVER = "server.server";

	public static final String DISPLAY_TEXTONLY = "display.textonly";

	/**
	 * Boolean value; true if the server shows default pages
	 * for a directory request; else shows directory index
	 */
	public static final String HTTP_USE_DEFAULT_PAGES="http.userdefaultpages";

	/**
	 * List of defaultpages to show instead of a directory list
	 */
	public static final String HTTP_DEFAULT_PAGE_LIST="http.defaultpagelist";
	/**
	 * Boolean value; true if the server sends headers to avoid caching
	 */
	public static final String HTTP_NO_CACHING_HEADERS="server.nocache";
	/**
	 * Boolean value; true if the server sends headers to avoid caching
	 */
	public static final String PROXY_NO_CACHING_HEADERS="proxy.nocache";

	/**
	 * The document root for the http server.
	 */
	public static final String HTTP_DOCROOT="http.docroot";

}
